package com.example.demo.generator;

import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

/*
 *
 *   @Author: Sjy
 *   @Date: 2024/3/12-03-12-19:32
 *  数据源
 */
@ToString
@Data
@Component
public class DataSource {
    //TODO 这里留了一个坑，后面讲@Value注解的时候回填
    //数据库地址
    private String url = "jdbc:mysql://localhost:3306/springboot?useSSL=false&serverTimezone=UTC";

    private String username = "root";

    private String password = "123456";
}
